<template>
  <div>
    <van-card
      :num="obj.tags.length"
      :price="obj.price"
      :desc="obj.desc"
      :title="obj.title"
      :thumb="`http://liufusong.top:8080${obj.houseImg}`"
    >
      <template #tags>
        <van-tag
        plain
        type="primary"
        color=“#e4f4f7”
        text-color="#63bbca"
        v-for="item in obj.tags"
        :key="item"
        >{{item}}</van-tag>
      </template>
    </van-card>
  </div>
</template>

<script>
export default {
  props: {
    obj: {
      type: Object,
      default: () => {}
    }
  }
}
</script>

<style scoped lang="less">
/deep/ .van-tag--plain{
  background-color: #e4f4f7;
}
/deep/.van-tag--plain::before{
border: transparent;
}
</style>
